package com.aaa.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 荆豪峰
 * @version 1.0
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @GetMapping("getTest")
    public String getTest(){
        System.out.println("==============getTest=========================");
        return "getTest";
    }

    @PostMapping("postTest")
    public String postTest(){
        System.out.println("==============postTest=========================");
        return "postTest";
    }
}
